home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore Disk User Volume 4 #1
/
Commodore_Disk_User_Vol.4_1_1990_-.d64
/
memory scanner
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
3KB
|
97 lines
4 rem **************************
5 rem ***** memory scanner *****
6 rem ***** by *****
7 rem ***** lee bamber *****
8 rem **************************
10 a=a+1:if a=1 then load"spr.",8,1
20 print"[147]":poke 53280,0:poke 53281,0
30 read a,b$
35 if a=1001 then print:print:goto 100
40 print"":print tab(a);b$
50 for t=0 to 50:nextt
60 goto 30
100 print" [212]he memory scanner is very simple to"
101 print" use as all the necessary instructions"
102 print" are on the actual screen display"
103 print" all the time. [212]he program is in [194][193][211][201][195]"
104 print" but the uses of this routine cover a"
105 print" large range:- [198]or instance you could"
106 print" look, at your leisure, where your"
107 print" [194]asic program is in memory, or look at"
108 print" other peoples programs to see if you "
109 print" can see any words or numbers they "
110 print" used. [212]his is very handy for looking"
111 print" at adventure games to see if there "
112 print" are objects or people you haven't come"
113 print" across before. "
115 print:print" press space[146] to continue"
200 get a$:if a$=""then goto 200
250 print"[147]"
255 print" [212]he screen display is set out as"
256 print" shown below in [198]ig 1."
257 print
258 print" [198]ig.1.
259 [153]"sys"
260 [153]" wait"
261 [153]"on waitf1-forward f3-backward f5-find f7-quit wait"
262 [153]"on wait"
263 [153]""
265 [153]" ascorward - (NULL)his moves 839 bytes at one"
266 [153]" time for you to view the whole of the"
267 [153]" memory in sections.
268 print" [194]ackward - [212]his moves to the last "
269 print" section of memory you have viewed to"
270 print"[160]see what you have missed."
271 print" [198]ind - [212]his utility with the aid of a"
272 print" character finder will tell the"
273 print" user what memory location the char."
274 print" finder is at that moment looking. [211]ee "
275 print" fig.2. for viewing of character finder"
276 print
277 print" press space[146] to see fig.2.
300 [161] a$:[139]a$[178]""[167] [137] 300
350 [153]"load"
355 [153]" fig.2.
356 print"
357 [153]" (NULL)ee how the character finder has its
358 print" own window to locate the characters.
359 [153]
360 [153]" wait"
362 [153]" waitatn wait"
364 [153]" wait wait"
366 [153]" wait wait"
370 [151] 53269,1:[151] 53276,1:[151] 53275,0:[151] 53248,40:[151] 53249,106
372 [151] 53287,12:[151] 53285,11:[151] 53286,1:[151] 2040,160
375 [129] a[178]106 [164] 150:[151] 53249,a:[130]a
380 [129] c[178]40 [164] 200:[151] 53248,c:[130]c
382 b[178]150:[129] a[178]100 [164] 150:b[178]b[171]1:[151] 53249,b:[130]a
384 [129] a[178]100 [164] 150:[151] 53249,a:[130]a
386 b[178]200:[129] a[178]40 [164] 200:b[178]b[171]1:[151] 53248,b:[130]a
388 b[178]150:[129] a[178]106 [164] 148:b[178]b[171]1:[151] 53249,b:[130]a
390 [143] end of movement
400 [153]
405 [153]" (NULL)o that is what the character finder
406 print" looks like and how it moves, finally"
407 print" we come to the last option which isn't"
408 print" too hard to work out, quitting the"
409 print" utility would be quicker to press f7"
410 print" than [210][213][206][211][212][207][208]/[210][197][211][212][207][210][197].
415 [153]
420 [153]" press spacewait to load main utility"
425 [161] a$:[139] a$[178]""[167] [137] 425
500 [153]"load":[151] 53269,0
510 [153]" (NULL)ow you know the memory scanner and "
520 [153]" it's capabilities you can load the "
530 [153]" actual program in by loading a file "
540 [153]" called '(NULL)val(NULL) (NULL)lenatn(NULL)'.
545 print
550 print
560 print" [199] o o d b y e"
1000 data 45,w,46,e,47,l,48,c,49,o,50,m,51,e
1001 data 53,t,54,o,56,t,57,h,58,e
1002 data 60,o,61,n,62,e,64,a,65,n,66,d
1003 data 68,o,69,n,70,l,71,y
1004 data 129,memory,136,scanner,144,1990
1006 data 212,by,215,lee,219,bamber
1007 data 1001,end